package com.bai.www;

public class test {

//	public static void main(String[] args) {
//		Student s1=new Student();
//		s1.myPrint();
//		s1.setAge(19);
//		s1.setId(2);
//		s1.setName("kuanyue");
//		s1.myPrint();
//	}
	public static void main(String[] args) {
		Student s1=new Student("suwukong",1);
		Course c1=new Course("math",1001);
		Student s2=new Student("zhubajie",2);
		Course c2=new Course("English",1002);
		Student s3=new Student("shaheshang",3);
		Course c3=new Course("physics",1003);
		System.out.println("Student"+"      "+"Course");
//		System.out.println(s1+"   "+c1);
//		System.out.println(s2+"   "+c2);
//		System.out.println(s3+"   "+c3);
		
			 s1.myPrint();
			 c1.myPrint();
			 System.out.println();
			 s2.myPrint();
			 c2.myPrint();
			 System.out.println();
			 s3.myPrint();
			 c3.myPrint();
			 System.out.println();
	}
}
